<?php

/**
 * DAOFactory
 * @author: http://phpdao.com
 * @date: ${date}
 */
class DAOFactory{
	
	/*
	 * @return CategorymasterDAO
	 */
	public static function getCategorymasterDAO(){
		return new CategorymasterMySqlDAO();
	}

	/*
	 * @return QuestionmasterDAO
	 */
	public static function getQuestionmasterDAO(){
		return new QuestionmasterMySqlDAO();
	}

	/*
	 * @return UserDAO
	 */
	public static function getUserDAO(){
		return new UserMySqlDAO();
	}


}
?>